<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/decorators/taglibs.jsp"%>
<div id="left_index" >
	<!-- div login start -->
	<div class="login">
		<div>用戶登入 Login</div>
		<div class="form">
			<form id="ftcForm" method="post" action="${appPath}/login.htm">
				帳號：<input class="bar" style="width:106px;" type="text" name="userName"/><br />
				密碼：<input class="bar" style="width:106px;" type="password" name="password"/><br />
				<div class="btm_1">
					<a href="#do" class="easyui-linkbutton" onClick="send($('#ftcForm'));">登入</a>
				</div>
			</form>
		
			<%-- <form id="ftcForm" method="post" action="${appPath}/j_spring_security_check">
				帳號：<input class="bar" style="width:106px;" type="text" name="j_username"/><br />
				密碼：<input class="bar" style="width:106px;" type="password" name="j_password"/><br />
				<div class="btm_1">
					<a href="#do" class="easyui-linkbutton" onClick="send($('#ftcForm'));">登入</a>
					<a href="${appPath}/forget.htm" class="easyui-linkbutton">忘記密碼</a>
				</div>
			</form> --%>
		</div>
	</div>	
	<!-- div login end -->	
	<!-- div menu_2 start -->
</div>
<script>
$(document).ready(function() {
	<c:if test="${param.login_error == 't'}">
	$.messager.alert('錯誤訊息','帳號密碼錯誤','error');
	</c:if>
});
function send( formid ){
	formid.submit(); 
}
</script>
